package com.wuhunyu.entities.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 课程信息VO实体类
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-17 10:04
 */
@ApiModel(value="课程信息VO实体类", description="课程信息VO实体类")
@Data
public class CourseInfoVo {

    @ApiModelProperty("课程id")
    private String courseId;

    @ApiModelProperty("课程讲师id")
    private String teacherId;

    @ApiModelProperty("课程专业id")
    private String subjectId;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("课程销售价格，设置为0则表示可免费观看")
    private BigDecimal price;

    @ApiModelProperty("总课时")
    private Integer lessonNum;

    @ApiModelProperty("课程封面图片")
    private String cover;

    @ApiModelProperty("课程简介")
    private String description;

}
